package com.techysky.service;

import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import org.springframework.web.multipart.MultipartFile;

import com.techysky.entity.CommentTags;

public interface CommentTagsService {

	/**
	 * 保存修改注释书签
	 * @param commentTags
	 * @return
	 */
	Object saveOrUpdate(CommentTags commentTags);
	Object updateAnnoById(CommentTags commentTags);
	/**
	 * 
	 * @param commentTags
	 * @return
	 */
	Map<String,Object> query(CommentTags commentTags);

	/**
	 * 
	 * @param id
	 * @return
	 */
	Object delete(String id);

	Map<String,Object> getObject(String id);

	Object uploadFile(MultipartFile file);

	Object uploadFile(HttpServletRequest request);

	Object deleteFile(String id);

	List<CommentTags> findByProject(String projectId);

	Object saveOrUpdate(HttpServletRequest request);

}
